package com.whc.address;


import com.whc.common.config.MvcConfig;
import com.whc.common.config.RabbitMqConfig;
import com.whc.common.config.RedisConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@EnableFeignClients(basePackages = "com.whc.api.client")
@Import({RabbitMqConfig.class, MvcConfig.class, RedisConfig.class})
public class AddressApplication {
    public static void main(String[] args) {
        SpringApplication.run(AddressApplication.class, args);
    }
}